<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">

<h:head>
	<title><h:outputText value="${mensagem['titulo']}" /></title>
	<link rel="shortcut icon" href="#{facesContext.externalContext.requestContextPath}/site/private/resources/image/coins.png"/>
	<link href="#{facesContext.externalContext.requestContextPath}/site/private/resources/style/main.css" rel="stylesheet" type="text/css"/>
	<ui:insert name="head"></ui:insert>
</h:head>
<h:body>
	<div style="width: 90%; height: 100px; border: 1px solid;"></div>
	<div class="menu-topo">
		<h:form>
			<ul class="menu-adm">
				<li><h:commandLink value="#{mensagem['menu.adm.usuario']}" action="${usuarioListMB.preConsultar}"></h:commandLink></li>
				<li><h:commandLink value="#{mensagem['menu.adm.dica']}" action="${dicaListMB.preConsultar}"></h:commandLink></li>
			 	<li><h:commandLink value="#{mensagem['menu.adm.noticias']}" action="${noticiaListMB.preConsultar}"></h:commandLink></li>
			 	<li><h:commandLink value="#{mensagem['menu.adm.parceiros']}" action="${parceiroListMB.preConsultar}"></h:commandLink></li>
			 	<li><h:outputText value="#{mensagem['menu.adm.moderador']}" /></li>
			 </ul>
		 </h:form>
	</div>
	<div style="width: 90%; float: left;">
		<div class="menu-lateral">
			<h:form>
				 <ul class="menu-esquerdo">
				 	<li><h:outputText value="#{mensagem['menu.comogastar']}" /></li>
				 	<li><h:outputText value="#{mensagem['menu.comonaoseindividar']}" /></li>
				 	<li><h:outputText value="#{mensagem['menu.comocontrolar']}" /></li>
				 	<li class="investir"><h:outputText value="#{mensagem['menu.comoinvestir']}" /></li>
				 	<li><h:outputText value="#{mensagem['menu.lancargasto']}" /></li>
				 	<li><h:outputText value="#{mensagem['menu.estatisticas']}" /></li>
				 </ul>
			 </h:form>
		</div>
		<div class="conteudo">
			<h:messages errorClass="error" infoClass="info" globalOnly="true" showDetail="#{true}" showSummary="#{true}"/>
			<ui:insert name="conteudo"></ui:insert>		
		</div>
		<div class="menu-lateral">
			<h:form>
				 <ul class="menu-direito">
				 	<li><h:commandLink value="#{mensagem['menu.datas']}" action="${dataMB.consultar}"></h:commandLink></li>
				 	<li><h:commandLink value="#{mensagem['menu.dicas']}" action="${dicaListMB.consultarPerfilDicas}"></h:commandLink></li>
				 	<li><h:commandLink value="#{mensagem['menu.noticias']}" action="${noticiaListMB.consultarPerfilNoticias}"></h:commandLink></li>
				 	<li><h:commandLink value="#{mensagem['menu.parceirospatrocinadores']}" action="${parceiroListMB.consultarParceiroPatrocinadores}"></h:commandLink></li>
				 </ul>
			 </h:form>
		</div>
	</div>
	
</h:body>
</html>